package com.example.design.c.prototype;

/**
 * 浅克隆
 */
public class ProtoTypeTest {

    public static void main(String[] args) throws CloneNotSupportedException {
        RealizeType realizeType = new RealizeType();
        RealizeType realizeType1 = (RealizeType)realizeType.clone();
        System.out.println(realizeType1.equals(realizeType));
    }
}
